
import java.util.List;

/**
* @author :${author}
* @description: ${desc}服务类接口
* @create date: ${createDate}
*/

public interface ${entityName}Service {

    /**
    * 保存${desc}
    * @param ${entityNameLower}
    * @return
    */
    int add(${entityName} ${entityNameLower});

    /**
    * 更新${desc}
    * @param ${entityNameLower}
    * @return
    */
    int update(${entityName} ${entityNameLower});

    /**
    * 删除${desc}
    * @param ${entityNameLower}
    * @return
    */
    int delete(${entityName} ${entityNameLower});

    /**
    * 根据条件查询${desc}
    * @param ${entityNameLower}
    * @return
    */
    ${entityName}Vo detail(${entityName} ${entityNameLower});

    /**
    * 查询${desc}
    * @param ${entityNameLower}
    * @return
    */
    List<${entityName}Vo> findList(${entityName} ${entityNameLower});

    /**
    * 查询${desc}分页信息
    * @param ${entityNameLower}PageDto
    * @return
    */

    PageVo findPageList(${entityName}PageDto ${entityNameLower}PageDto);
}
